package com.competition.prediction.service;

import com.competition.prediction.dto.PlaceBetDTO;
import com.competition.prediction.entity.UserBet;

import java.util.List;

public interface BettingService {

    boolean placeBet(Long userId, PlaceBetDTO placeBetDTO);

    List<UserBet> getUserBets(Long userId);

    boolean settleBet(Long competitionId, Integer result);
}